package csd.wyaiyr.com.model.dto;

import csd.wyaiyr.com.config.QueryPage;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;


@Data
@Schema(name = "QueryPageReqDto",description = "监测数据分页查询请求体")
public class MoniDataQueryPageReqDto {

    @Schema(name = "queryPage",description = "分页查询",requiredMode = Schema.RequiredMode.REQUIRED)
    private QueryPage queryPage;

    @Schema(name = "wornFlag",description = "告警标志",requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String wornFlag;

    @Schema(name = "reportTime",description = "上报日期",requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String reportTime;

    @Schema(name = "condition",description = "搜索条件",requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String condition;

    @Schema(name = "orderCloumnName",description = "排序的字段",requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String orderCloumnName;

    @Schema(name = "orderWay",description = "排序方式：升序asc,降序desc",requiredMode = Schema.RequiredMode.NOT_REQUIRED)
    private String orderWay;
}
